<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of OpcategoryAction
 *
 * @author wuxiaofeng
 */
class OpcategoryAction extends Action{
    //put your code here
    function index(){
        $Category = M('Category');
        $list=$Category->select();
        $this->assign('category',$list);
        $this->display();
    }
}

?>
